/**
 * 微应用配置
 * @param name 应用名称（请填子应用客户端ID）
 * @param url 应用地址
 * @param publicPath 匹配子应用路由前缀
 * @param defaultPath 子应用默认路由（打开子应用需要展示的第一个页面）
 */

export const microAppConfigs: Array<{ name: string; url: string; publicPath: string; defaultPath: string }> = [
  {
    name: 'account-client',
    url: 'http://192.168.0.209:2002/',
    publicPath: '/account',
    defaultPath: '/account/user'
  },
  {
    name: 'account-client',
    url: 'http://192.168.0.209:2002/',
    publicPath: '/account',
    defaultPath: '/account/user-permissions'
  },
  {
    name: 'account-client',
    url: 'http://192.168.0.209:2002/',
    publicPath: '/account',
    defaultPath: '/account/user-group'
  },
  {
    name: 'account-client',
    url: 'http://192.168.0.209:2002/',
    publicPath: '/account',
    defaultPath: '/account/client'
  },
  {
    name: 'account-client',
    url: 'http://192.168.0.209:2002/',
    publicPath: '/account',
    defaultPath: '/account/role'
  },
  {
    name: 'account-client',
    url: 'http://192.168.0.209:2002/',
    publicPath: '/account',
    defaultPath: '/account/role-permissions'
  },
  {
    name: 'account-client',
    url: 'http://192.168.0.209:2002/',
    publicPath: '/account',
    defaultPath: '/account/data-dictionary'
  },


  {
    name: 'enterprise-client',
    url: 'http://192.168.0.209:2001/',
    publicPath: '/enterprise',
    defaultPath: '/enterprise/staff'
  },
  {
    name: 'enterprise-client',
    url: 'http://192.168.0.209:2001/',
    publicPath: '/enterprise',
    defaultPath: '/enterprise/organization'
  },
  {
    name: 'enterprise-client',
    url: 'http://192.168.0.209:2001/',
    publicPath: '/enterprise',
    defaultPath: '/enterprise/position'
  },
  {
    name: 'enterprise-client',
    url: 'http://192.168.0.209:2001/',
    publicPath: '/enterprise',
    defaultPath: '/enterprise/tenant'
  },
]
